<include file="Public/header"/>
<div class="wrapper m-t">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <a class="h5 font-bold">岗位管理</a>
            <a href="{:U('AccessControl/addStation')}" class="btn btn-sm btn-primary m-l">新增</a>
        </div>
        <div class="ibox-content">

            <table class="table table-bordered">
                <thead>
                <tr>
                    <th width="10 "><input type="checkbox"></th>
                    <th>ID</th>
                    <th>岗位组</th>
                    <th>描述</th>
                    <th>管辖区域</th>
                    <th>状态</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                <volist name="_list" id="vo">
                    <tr>

                        <td><input type="checkbox" name="post[]" value="{$vo.id}"></td>
                        <td>{$vo.id}</td>
                        <td>{$vo.title}</td>
                        <td>{$vo.remark}</td>
                        <td>{$vo.area_name}</td>
                        <td>
                            <if condition="$vo.status eq 1">正常
                                <else/>
                                禁用
                            </if>
                        </td>
                        <td>
                            <a class="text-info m-r" href="__URL__/sedit/id/{$vo.id}">编辑</a>
                            <a class="text-info confirm ajax-get"
                               href="__URL__/sdel/id/{$vo.id}">删除</a>
                        </td>
                    </tr>
                </volist>
                </tbody>
            </table>
            <div class="page">{$_page}</div>
        </div>
    </div>
</div>
<include file="Public/footer"/>